<%@page contentType="text/html;charset=utf-8"%>
<%@include file="../common/taglib.jsp"%>

<span id="login_info"> 
	<b>您好${sessionScope.session_user.nickname}，欢迎光临当当网</b>
	<c:choose>
		<c:when test="${requestScope.isLogin}">
			[&nbsp;
			<a href="javascript:;" onclick="load('logout.do','login_info')" class="b">退出</a>
			&nbsp;]
		</c:when>
		<c:otherwise>
			[&nbsp;
			<a href="loginForm.do" class="b">登录</a>
			|
			<a href="registerForm.do" class="b">注册</a>
			&nbsp;]
		</c:otherwise>
	</c:choose> 
</span>
